#ifndef __CODEPROCESS_H__
#define __CODEPROCESS_H__
#include "Globle.h"
#include "RTPapp.h"
#include "CodeThread.h"
class RTPapp;
class CodeThread;
class UDPApi;
class CodeProcess
{
public:
	CodeProcess(MediaInfo *mediainfo);
	~CodeProcess();
	int CreateThread();
	int StopThread();

	void ProcessCode();

private :
	RTPapp m_app;
	MediaInfo *mediainfo;
	CodeThread *code;
	
	RTP_INFO rtpinfo;
	RTP_INFO rtpinfo1;

};
#endif